source/TrailDB.d(26,54): Error: `@safe` function `TrailDB.hexToRaw` cannot call `@system` function `std.string.fromStringz!char.fromStringz` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/string.d(222,15): `std.string.fromStringz!char.fromStringz` is declared here source/TrailDB.d(26,31): Error: cast from `char[]` to `string` not allowed in safe code source/TrailDB.d(50,44): Error: cast from `ulong[0]` to `ulong*` not allowed in safe code source/TrailDB.d(50,78): Error: cannot take address of local `valueLength` in `@safe` function `opIndex` source/TrailDB.d(97,58): Error: `@safe` constructor `TrailDB.TrailDB.this` cannot call `@system` function `std.string.fromStringz!char.fromStringz` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/string.d(222,15): `std.string.fromStringz!char.fromStringz` is declared here source/TrailDB.d(97,35): Error: cast from `char[]` to `string` not allowed in safe code source/TrailDB.d(107,137): Error: `@safe` constructor `TrailDB.TrailDB.this` cannot call `@system` function `std.array.array!(MapResult!(__lambda2, Result)).array` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/array.d(101,21): `std.array.array!(MapResult!(__lambda2, Result)).array` is declared here source/TrailDB.d(107,25): Error: cast from `string[]` to `immutable(string[])` not allowed in safe code source/TrailDB.d(174,31): Error: pointer slicing not allowed in safe functions source/TrailDB.d(181,49): Error: cannot take address of local `index` in `@safe` function `uuidIndex` source/TrailDB.d(183,57): Error: cast from `ubyte[32]` to `string` not allowed in safe code source/TrailDB.d(205,27): Error: cast from `immutable(char)*` to `char*` not allowed in safe code source/TrailDB.d(206,30): Error: cast from `immutable(char)*[]` to `char*[]` not allowed in safe code source/TrailDB.d(207,51): Error: cast from `char*[]` to `char**` not allowed in safe code source/TrailDB.d(210,58): Error: `@safe` constructor `TrailDB.TrailDBConstructor.this` cannot call `@system` function `std.string.fromStringz!char.fromStringz` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/string.d(222,15): `std.string.fromStringz!char.fromStringz` is declared here source/TrailDB.d(210,35): Error: cast from `char[]` to `string` not allowed in safe code source/TrailDB.d(219,58): Error: `@safe` function `TrailDB.TrailDBConstructor.append` cannot call `@system` function `std.string.fromStringz!char.fromStringz` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/string.d(222,15): `std.string.fromStringz!char.fromStringz` is declared here source/TrailDB.d(219,35): Error: cast from `char[]` to `string` not allowed in safe code source/TrailDB.d(231,9): Error: `@safe` function `TrailDB.TrailDBConstructor.add` cannot call `@system` function `TrailDB.TrailDBConstructor.add.MapResult!(__lambda5, string[]).MapResult.front` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/algorithm/iteration.d(601,24): `TrailDB.TrailDBConstructor.add.MapResult!(__lambda5, string[]).MapResult.front` is declared here source/TrailDB.d(233,40): Error: cast from `immutable(char)*` to `char*` not allowed in safe code /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.